package app.fugema.shop.main.order.model;


import com.base.common.view.adapter.bean.ChildBaseBean;

import androidx.databinding.Bindable;
import app.fugema.shop.BR;


public class AddressNewEntity extends ChildBaseBean
{


    //地区
    private int regionId;
    //街道
    private String address;
    //门牌号
    private String addressDetail;

    private String phone;

    private String shipTo;

    private double latitude;

    private double longitude;

    private boolean IsDefault;

    private String regionFullName;

    public int getRegionId()
    {
        return regionId;
    }

    public void setRegionId(int regionId)
    {
        this.regionId = regionId;
    }

    @Bindable
    public String getAddress()
    {
        return address;
    }

    public void setAddress(String address)
    {
        this.address = address;
        notifyPropertyChanged(BR.address);
    }

    @Bindable
    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
        notifyPropertyChanged(BR.phone);
    }

    @Bindable
    public String getShipTo()
    {
        return shipTo;
    }

    public void setShipTo(String shipTo)
    {
        this.shipTo = shipTo;
        notifyPropertyChanged(BR.shipTo);
    }

    public double getLatitude()
    {
        return latitude;
    }

    public void setLatitude(double latitude)
    {
        this.latitude = latitude;
    }

    public double getLongitude()
    {
        return longitude;
    }

    public void setLongitude(double longitude)
    {
        this.longitude = longitude;
    }

    @Bindable
    public String getAddressDetail()
    {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail)
    {
        this.addressDetail = addressDetail;
        notifyPropertyChanged(BR.addressDetail);
    }

    public boolean isDefault()
    {
        return IsDefault;
    }

    public void setDefault(boolean aDefault)
    {
        IsDefault = aDefault;
    }

    @Bindable
    public String getRegionFullName() {
        return regionFullName;
    }

    public void setRegionFullName(String regionFullName) {
        this.regionFullName = regionFullName;
        notifyPropertyChanged(BR.regionFullName);
    }
}
